package com.tensquare.recruit.dao;

import com.tensquare.recruit.pojo.Enterprise;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author Alfred
 * @description TODO
 * @date 2021/4/23 14:32
 */
public interface EnterpriseDao extends JpaRepository<Enterprise,String>, JpaSpecificationExecutor<Enterprise> {

    /**
     * fetch data by rule id
     *
     * @description  根据热门状态获取企业列表
     * @param
     * @return
     */
    public List<Enterprise> findByIshot(String ishot);
}
